<!DOCTYPE HTML>
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<link rel="stylesheet" href="../css/bootstrap.min.css">
<script src="../js/jquery-1.10.2.min.js" type="text/javascript"
	charset="utf-8"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"></script>
<title>修改订单</title>
</head>
<%
	if (!(boolean)session.getAttribute("adminLogin")) {
		String path = request.getContextPath() + "/Admin/login.jsp";
		response.sendRedirect(path);
	}
%>
<body>
	<div class="container">
		<h3>修改订单</h3>
		<div class="page-header" style="margin-top:10px;"></div>
		<form action="<%=request.getContextPath() %>/OrderServlet?id=<%=request.getParameter("order_id") %>" method="post" onsubmit="queren()">
		<input type="hidden" name="action" value="updateorder">
			订单状态修改：
			<select name="updatestatus">
			<option value="未处理">未处理</option>
			<option value="已备货">已备货</option>
			<option value="已发货">已发货</option>
			<option value="已处理">已处理</option>
			</select>
			<input type="submit" value="确认修改" class="btn btn-danger"> 
		</form>
	</div>
	<script>
		function queren(){
			if(!confirm("确定修改吗？")){
				 window.event.returnValue = false;
		      }
		}
	</script>
</body>
</html>